package com.aft.terra.modules.basic.model;

import com.aft.terra.modules.basic.model.base.BaseConfiguation;

/**
 * 系统初始化模型
 */
public class Configuation extends BaseConfiguation<Configuation> {
	
	/** 
	 * @Fields serialVersionUID: 
	 */
	  	
	private static final long serialVersionUID = 4978616067125610028L;
	
	public static final Configuation dao = new Configuation();
	
	/**
	 * 初始化系统参数
	 * 服务启动后自动设置前台JS版本号
	 * @author Mandarava
	 * @return
	 */
	public Configuation config(){
//		Configuation config = new Configuation();
//		config.setId(ID);
//		config.setShopVersion(String.valueOf(System.currentTimeMillis()));
//		config.update();
		String sql = "SELECT * FROM t_configuation";
		return findFirst(sql);
	}
}
